UA 3851 then DL 363 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
16:00DL 363 to New York JFK leaves the gatealso VS 3215
22 h 19 apart on the timetable, overnight
DL 363 leaves 22 h 19 after UA 3851 arrives on the timetable: more than half a day, so not a connection we count.