UA 1506 then UA 3906 at San Francisco
Miami → San Francisco → Newark
Timetable, San Francisco time
12:43UA 1506 from Miami at the gatealso CM 2874, AZ 4406, EK 6034, VA 8395
07:00UA 3906 to Newark leaves the gate
18 h 17 apart on the timetable, overnight
UA 3906 leaves 18 h 17 after UA 1506 arrives on the timetable: more than half a day, so not a connection we count.