AA 2501 then KJ 242 at O'Hare
Newark → Chicago → Dallas-Fort Worth
Timetable, Chicago time
08:44AA 2501 from Newark at the gate
04:40KJ 242 to Dallas-Fort Worth leaves the gate
19 h 56 apart on the timetable, overnight
KJ 242 leaves 19 h 56 after AA 2501 arrives on the timetable: more than half a day, so not a connection we count.