UA 1257 then UA 3906 at San Francisco
St Louis → San Francisco → Newark
Timetable, San Francisco time
10:36UA 1257 from St Louis at the gatealso NZ 9700
07:00UA 3906 to Newark leaves the gate
20 h 24 apart on the timetable, overnight
UA 3906 leaves 20 h 24 after UA 1257 arrives on the timetable: more than half a day, so not a connection we count.