AA 873 then KJ 242 at O'Hare
Atlanta → Chicago → Dallas-Fort Worth
Timetable, Chicago time
12:29AA 873 from Atlanta at the gate
11:40KJ 242 to Dallas-Fort Worth leaves the gate
23 h 11 apart on the timetable, overnight
KJ 242 leaves 23 h 11 after AA 873 arrives on the timetable: more than half a day, so not a connection we count.