One of my favorite genres of tv and movies is crime drama. There are constantly characters demanding other characters to either “put the gun down” or “put down the gun”. I’m confused as to which usage of “down” is correct. Can you please explain which usage is correct?

both are correct and commonly used.

In both cases, "down" is an adverb.

It can be confusing, though, since we say
walk up the stairs
where "up" is a preposition.
No one says walk the stairs up.

On the other hand, we do say
walk the dog up (that is, up the stairs)
but not: walk up the dog (only a flea might do that)

But, wake up the dog
as well as wake the dog up.

We get some of our grammar from German, which has what are called separable prefixes. When actually used, the prefix is usually moved to the end of the clause. That's why it often looks like we are ending the sentence with a preposition, while it is often just an adverb.

One of my favorite sentences in this regard is what the child said when his father came upstairs to read him a bedtime story, but it was the wrong one. The boy said, "What did you bring that book I didn't want to be read to out of up for?"

See whether you can parse that!

You're dealing with phrasal verbs -- that is, commonly used verb phrases that include a verb and a preposition or adverb (or two) and have meanings of their own.

Here's a good explanation and some very good charts. Some phrasal verbs are separable ("put down" in your example) and some are not -- and sometimes a phrasal verb contains 3 words! Be sure to scroll down and check out all three lists on this webpage:
http://guidetogrammar.org/grammar/phrasals.htm

Certainly! The correct usage in this context is "put the gun down." Here's why:

In the phrase "put the gun down," the word "down" functions as an adverb, modifying the verb "put." It indicates the direction or action of placing the gun in a lower position or dropping it to the ground.

Here's how you can ensure you are using it correctly:

1. Identify the verb: In this case, the main action verb is "put." It refers to the act of placing or setting something down.
2. Determine the direction or action: In this context, the word "down" describes the manner in which the gun is being put. It suggests moving the gun towards a lower position or placing it on the ground.
3. Check the word order and phrasing: In "put the gun down," the noun phrase "the gun" is the object of the verb "put," while "down" modifies the verb. This word order flows naturally and is commonly used in this context.

On the other hand, "put down the gun" is a less common and somewhat ambiguous usage. It could imply a different action, such as demeaning or criticizing the gun. Although this interpretation is less likely in the context of crime dramas, it may still cause confusion.

To summarize, in the context of characters demanding someone to relinquish a firearm, the correct phrase to use is "put the gun down." This usage clearly conveys the act of physically placing the gun in a lower position or dropping it to the ground.