UA 3926 then UA 817 at San Francisco
Newark → San Francisco → Mexico City
Timetable, San Francisco time
22:56UA 3926 from Newark at the gate
13:14UA 817 to Mexico City leaves the gatealso AC 5402, NH 7368, NZ 9823
14 h 18 apart on the timetable, overnight
UA 817 leaves 14 h 18 after UA 3926 arrives on the timetable: more than half a day, so not a connection we count.