AA 4038 then G7 4190 at O'Hare
Madison → Chicago → Wichita
Timetable, Chicago time
16:44AA 4038 from Madison at the gate
15:58G7 4190 to Wichita leaves the gate
23 h 14 apart on the timetable, overnight
G7 4190 leaves 23 h 14 after AA 4038 arrives on the timetable: more than half a day, so not a connection we count.