UA 5310 then QR 3312 at San Francisco
Medford → San Francisco → San Diego
Timetable, San Francisco time
08:00UA 5310 from Medford at the gatealso NZ 9526
07:04QR 3312 to San Diego leaves the gate
23 h 04 apart on the timetable, overnight
QR 3312 leaves 23 h 04 after UA 5310 arrives on the timetable: more than half a day, so not a connection we count.