UA 3851 then YP 112 at San Francisco
Rio De Janeiro → San Francisco → Seoul
Timetable, San Francisco time
17:41UA 3851 from Rio De Janeiro at the gate
15:20YP 112 to Seoul leaves the gate
21 h 39 apart on the timetable, overnight
YP 112 leaves 21 h 39 after UA 3851 arrives on the timetable: more than half a day, so not a connection we count.