There is no such thing as transit in the USA. You will clear US immigration, retrieve your bag, carry it through Customs and then drop it off and then head for your QR flight (after re-clearing Security).
If you are not a USN, make certain that you have met all visa and other requirements for entry into the US.
As a practical matter, you may find less scrutiny because of your abbreviated stay.