UA 3851 then UA 1808 at San Francisco
Rio De Janeiro → San Francisco → Newark
Timetable, San Francisco time
17:41UA 3851 from Rio De Janeiro at the gate
14:00UA 1808 to Newark leaves the gate
20 h 19 apart on the timetable, overnight
UA 1808 leaves 20 h 19 after UA 3851 arrives on the timetable: more than half a day, so not a connection we count.