UA 5221 then WN 1037 at Denver
Amarillo → Denver → Phoenix Sky Harbor
Timetable, Denver time
08:24UA 5221 from Amarillo at the gate
06:00WN 1037 to Phoenix Sky Harbor leaves the gate
21 h 36 apart on the timetable, overnight
WN 1037 leaves 21 h 36 after UA 5221 arrives on the timetable: more than half a day, so not a connection we count.