Yes always customs at first stop in USA
You just take the tram from terminal to terminal. AA uses different terminals. It takes 10 minutes max on the high-speed tram.
Customs, immigration always at the airport where the plane boards to leave/enter the country.
Thanks! Your answer is awaiting moderation.