JFK T8 AA if you arrive at, say, gate 47 the walk to CBP rivals T4--I don't see how 5 min. is possible.
Haha, it can be done, but be prepared to be seeing stars by the time you’re boarding your connection. My record was 23 minutes. Seat 8A on a 77W to seat 4G on a 763 I->D. Thank God for Global Entry, carryon only, and Precheck otherwise that transfer would not have been possible.