UA 5417 then UA 3906 at San Francisco
Fresno → San Francisco → Newark
Timetable, San Francisco time
09:29UA 5417 from Fresno at the gate
07:00UA 3906 to Newark leaves the gate
21 h 31 apart on the timetable, overnight
UA 3906 leaves 21 h 31 after UA 5417 arrives on the timetable: more than half a day, so not a connection we count.