UA 5245 then WN 1037 at Denver
Casper → Denver → Phoenix Sky Harbor
Timetable, Denver time
12:45UA 5245 from Casper at the gate
06:00WN 1037 to Phoenix Sky Harbor leaves the gate
17 h 15 apart on the timetable, overnight
WN 1037 leaves 17 h 15 after UA 5245 arrives on the timetable: more than half a day, so not a connection we count.