DL 4907 then UA 5901 at O'Hare
New York JFK → Chicago → St Louis
Timetable, Chicago time
17:20DL 4907 from New York JFK at the gate
15:20UA 5901 to St Louis leaves the gate
22 h apart on the timetable, overnight
UA 5901 leaves 22 h after DL 4907 arrives on the timetable: more than half a day, so not a connection we count.