UA 3851 then AC 4104 at San Francisco
Rio De Janeiro → San Francisco → Las Vegas
Timetable, San Francisco time
17:41UA 3851 from Rio De Janeiro at the gate
16:40AC 4104 to Las Vegas leaves the gatealso VA 8191, NZ 9226
22 h 59 apart on the timetable, overnight
AC 4104 leaves 22 h 59 after UA 3851 arrives on the timetable: more than half a day, so not a connection we count.