UA 5738 then UA 4743 at Denver
Tucson → Denver → Salt Lake City
Timetable, Denver time
10:23UA 5738 from Tucson at the gate
08:00UA 4743 to Salt Lake City leaves the gate
21 h 37 apart on the timetable, overnight
UA 4743 leaves 21 h 37 after UA 5738 arrives on the timetable: more than half a day, so not a connection we count.