WN 4038 then UA 3804 at Phoenix
Sacramento → Phoenix → Denver
Timetable, Phoenix time
10:00WN 4038 from Sacramento at the gate
22:30UA 3804 to Denver leaves the gate
12 h 30 apart on the timetable
UA 3804 leaves 12 h 30 after WN 4038 arrives on the timetable: more than half a day, so not a connection we count.