AA 3491 then UA 5901 at O'Hare
Lansing → Chicago → St Louis
Timetable, Chicago time
16:25AA 3491 from Lansing at the gate
15:20UA 5901 to St Louis leaves the gate
22 h 55 apart on the timetable, overnight
UA 5901 leaves 22 h 55 after AA 3491 arrives on the timetable: more than half a day, so not a connection we count.