UA 5935 then AA 4104 at Denver
Salt Lake City → Denver → Phoenix Sky Harbor
Timetable, Denver time
20:03UA 5935 from Salt Lake City at the gate
15:45AA 4104 to Phoenix Sky Harbor leaves the gate
19 h 42 apart on the timetable, overnight
AA 4104 leaves 19 h 42 after UA 5935 arrives on the timetable: more than half a day, so not a connection we count.