UA 3851 then OZ 6350 at San Francisco
Rio De Janeiro → San Francisco → Denver
Timetable, San Francisco time
17:41UA 3851 from Rio De Janeiro at the gate
16:24OZ 6350 to Denver leaves the gate
22 h 43 apart on the timetable, overnight
OZ 6350 leaves 22 h 43 after UA 3851 arrives on the timetable: more than half a day, so not a connection we count.