AA 3317 then DL 2398 at Atlanta
Miami → Atlanta → New York JFK
Timetable, Atlanta time
16:19AA 3317 from Miami at the gate
15:16DL 2398 to New York JFK leaves the gate
22 h 57 apart on the timetable, overnight
DL 2398 leaves 22 h 57 after AA 3317 arrives on the timetable: more than half a day, so not a connection we count.