AA 5477 then KJ 248 at O'Hare
Madison → Chicago → Atlanta
Timetable, Chicago time
08:50AA 5477 from Madison at the gate
05:10KJ 248 to Atlanta leaves the gate
20 h 20 apart on the timetable, overnight
KJ 248 leaves 20 h 20 after AA 5477 arrives on the timetable: more than half a day, so not a connection we count.