UA 3851 then AF 8669 at San Francisco
Rio De Janeiro → San Francisco → New York JFK
Timetable, San Francisco time
17:41UA 3851 from Rio De Janeiro at the gate
14:35AF 8669 to New York JFK leaves the gate
20 h 54 apart on the timetable, overnight
AF 8669 leaves 20 h 54 after UA 3851 arrives on the timetable: more than half a day, so not a connection we count.