AA 788 then KJ 242 at O'Hare
New York JFK → Chicago → Dallas-Fort Worth
Timetable, Chicago time
12:16AA 788 from New York JFK at the gate
04:40KJ 242 to Dallas-Fort Worth leaves the gate
16 h 24 apart on the timetable, overnight
KJ 242 leaves 16 h 24 after AA 788 arrives on the timetable: more than half a day, so not a connection we count.