UA 852 then OZ 9523 at San Francisco
Taipei → San Francisco → Newark
Timetable, San Francisco time
18:45UA 852 from Taipei at the gate
16:30OZ 9523 to Newark leaves the gate
21 h 45 apart on the timetable, overnight
OZ 9523 leaves 21 h 45 after UA 852 arrives on the timetable: more than half a day, so not a connection we count.