AA 518 then KJ 242 at O'Hare
San Diego → Chicago → Dallas-Fort Worth
Timetable, Chicago time
12:42AA 518 from San Diego at the gate
09:40KJ 242 to Dallas-Fort Worth leaves the gate
20 h 58 apart on the timetable, overnight
KJ 242 leaves 20 h 58 after AA 518 arrives on the timetable: more than half a day, so not a connection we count.