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