UA 3926 then AA 9344 at San Francisco
Newark → San Francisco → Santa Ana
Timetable, San Francisco time
22:56UA 3926 from Newark at the gate
17:49AA 9344 to Santa Ana leaves the gate
18 h 53 apart on the timetable, overnight
AA 9344 leaves 18 h 53 after UA 3926 arrives on the timetable: more than half a day, so not a connection we count.