UA 3851 then UA 1791 at San Francisco
Rio De Janeiro → San Francisco → Washington
Timetable, San Francisco time
17:41UA 3851 from Rio De Janeiro at the gate
13:50UA 1791 to Washington leaves the gatealso CA 7314, NZ 9163
20 h 09 apart on the timetable, overnight
UA 1791 leaves 20 h 09 after UA 3851 arrives on the timetable: more than half a day, so not a connection we count.