AA 3174 then G7 3376 at O'Hare
Miami → Chicago → St Louis
Timetable, Chicago time
11:05AA 3174 from Miami at the gate
11:00G7 3376 to St Louis leaves the gate
23 h 55 apart on the timetable, overnight
G7 3376 leaves 23 h 55 after AA 3174 arrives on the timetable: more than half a day, so not a connection we count.