WN 3525 then UA 2040 at Denver
Chicago Midway → Denver → Raleigh-Durham
Timetable, Denver time
20:20WN 3525 from Chicago Midway at the gate
16:18UA 2040 to Raleigh-Durham leaves the gate
19 h 58 apart on the timetable, overnight
UA 2040 leaves 19 h 58 after WN 3525 arrives on the timetable: more than half a day, so not a connection we count.