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