UA 5338 then UA 481 at San Francisco
Fresno → San Francisco → Raleigh-Durham
Timetable, San Francisco time
07:27UA 5338 from Fresno at the gate
07:25UA 481 to Raleigh-Durham leaves the gate
23 h 58 apart on the timetable, overnight
UA 481 leaves 23 h 58 after UA 5338 arrives on the timetable: more than half a day, so not a connection we count.