UA 5115 then WN 1037 at Denver
Prescott → Denver → Phoenix Sky Harbor
Timetable, Denver time
11:35UA 5115 from Prescott at the gate
06:00WN 1037 to Phoenix Sky Harbor leaves the gate
18 h 25 apart on the timetable, overnight
WN 1037 leaves 18 h 25 after UA 5115 arrives on the timetable: more than half a day, so not a connection we count.