UA 5884 then UA 4743 at Denver
Rapid City → Denver → Salt Lake City
Timetable, Denver time
09:58UA 5884 from Rapid City at the gate
08:00UA 4743 to Salt Lake City leaves the gate
22 h 02 apart on the timetable, overnight
UA 4743 leaves 22 h 02 after UA 5884 arrives on the timetable: more than half a day, so not a connection we count.