AA 821 then OZ 9523 at San Francisco
Chicago O'Hare → San Francisco → Newark
Timetable, San Francisco time
18:14AA 821 from Chicago O'Hare at the gatealso QF 4642
16:30OZ 9523 to Newark leaves the gate
22 h 16 apart on the timetable, overnight
OZ 9523 leaves 22 h 16 after AA 821 arrives on the timetable: more than half a day, so not a connection we count.