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