UA 3941 then UA 3906 at San Francisco
Washington → San Francisco → Newark
Timetable, San Francisco time
14:07UA 3941 from Washington at the gate
07:00UA 3906 to Newark leaves the gate
16 h 53 apart on the timetable, overnight
UA 3906 leaves 16 h 53 after UA 3941 arrives on the timetable: more than half a day, so not a connection we count.