UA 3926 then BA 6664 at San Francisco
Newark → San Francisco → Chicago O'Hare
Timetable, San Francisco time
22:56UA 3926 from Newark at the gate
13:42BA 6664 to Chicago O'Hare leaves the gate
14 h 46 apart on the timetable, overnight
BA 6664 leaves 14 h 46 after UA 3926 arrives on the timetable: more than half a day, so not a connection we count.