AA 5011 then KJ 248 at O'Hare
Marion → Chicago → Atlanta
Timetable, Chicago time
08:35AA 5011 from Marion at the gate
07:40KJ 248 to Atlanta leaves the gate
23 h 05 apart on the timetable, overnight
KJ 248 leaves 23 h 05 after AA 5011 arrives on the timetable: more than half a day, so not a connection we count.