UA 5707 then UA 3376 at O'Hare
Salt Lake City → Chicago → St Louis
Timetable, Chicago time
16:59UA 5707 from Salt Lake City at the gate
11:00UA 3376 to St Louis leaves the gate
18 h 01 apart on the timetable, overnight
UA 3376 leaves 18 h 01 after UA 5707 arrives on the timetable: more than half a day, so not a connection we count.