WN 4354 then UA 1131 at Denver
Sacramento → Denver → Chicago O'Hare
Timetable, Denver time
16:55WN 4354 from Sacramento at the gate
16:48UA 1131 to Chicago O'Hare leaves the gate
23 h 53 apart on the timetable, overnight
UA 1131 leaves 23 h 53 after WN 4354 arrives on the timetable: more than half a day, so not a connection we count.