WN 4955 then UA 3906 at San Francisco
San Diego → San Francisco → Newark
Timetable, San Francisco time
12:50WN 4955 from San Diego at the gate
07:00UA 3906 to Newark leaves the gate
18 h 10 apart on the timetable, overnight
UA 3906 leaves 18 h 10 after WN 4955 arrives on the timetable: more than half a day, so not a connection we count.