UA 1066 then F9 2995 at Houston
Chicago O'Hare → Houston → Denver
Timetable, Houston time
20:30UA 1066 from Chicago O'Hare at the gate
18:40F9 2995 to Denver leaves the gate
22 h 10 apart on the timetable, overnight
F9 2995 leaves 22 h 10 after UA 1066 arrives on the timetable: more than half a day, so not a connection we count.