At Miami airport, as at every airport in the United States, passengers arriving on an international flight must clear immigration (CBP) and customs, collect their checked bags and re-check them, and go through TSA security again before their connecting flight, even when both flights are on the same ticket.
The airport has 6 terminals or concourses (Concourse D, Concourse E, Concourse F, Concourse G, Concourse H, Concourse J).
Connecting passengers go through a transfer security screening.