AA 4440 then KJ 242 at O'Hare
Madison → Chicago → Dallas-Fort Worth
Timetable, Chicago time
07:30AA 4440 from Madison at the gate
04:40KJ 242 to Dallas-Fort Worth leaves the gate
21 h 10 apart on the timetable, overnight
KJ 242 leaves 21 h 10 after AA 4440 arrives on the timetable: more than half a day, so not a connection we count.