AA 5477 then KJ 244 at O'Hare
Madison → Chicago → Dallas-Fort Worth
Timetable, Chicago time
08:50AA 5477 from Madison at the gate
08:30KJ 244 to Dallas-Fort Worth leaves the gate
23 h 40 apart on the timetable, overnight
KJ 244 leaves 23 h 40 after AA 5477 arrives on the timetable: more than half a day, so not a connection we count.