Yes, you will need to go through immigration, pick up bags and go through customs on arrival at LAX.
Which airline are you booked on from LAX to MIA? Do you have oneworld status? Answers to those questions would then influence what I would advise you to do.
Generally, if your booking to MIA is...