AA 3021 then MQ 3427 at Miami
New York JFK → Miami → Birmingham (Alabama)
Timetable, Miami time
22:24AA 3021 from New York JFK at the gate
21:48MQ 3427 to Birmingham (Alabama) leaves the gate
23 h 24 apart on the timetable, overnight
MQ 3427 leaves 23 h 24 after AA 3021 arrives on the timetable: more than half a day, so not a connection we count.