You would have to check the bag in MIA before you go through TSA again for your connecting flight.