AZ 4402 then QR 2091 at San Francisco
San Diego → San Francisco → Santa Ana
Timetable, San Francisco time
09:20AZ 4402 from San Diego at the gate
09:00QR 2091 to Santa Ana leaves the gate
23 h 40 apart on the timetable, overnight
QR 2091 leaves 23 h 40 after AZ 4402 arrives on the timetable: more than half a day, so not a connection we count.