AA 578 then DL 5170 at JFK
Dallas-Fort Worth → New York → Toronto
Timetable, New York time
21:00AA 578 from Dallas-Fort Worth at the gate
20:55DL 5170 to Toronto leaves the gate
23 h 55 apart on the timetable, overnight
DL 5170 leaves 23 h 55 after AA 578 arrives on the timetable: more than half a day, so not a connection we count.