UA 2227 then AA 9795 at Phoenix
Newark → Phoenix → Santa Clara
Timetable, Phoenix time
13:38UA 2227 from Newark at the gate
07:00AA 9795 to Santa Clara leaves the gate
17 h 22 apart on the timetable, overnight
AA 9795 leaves 17 h 22 after UA 2227 arrives on the timetable: more than half a day, so not a connection we count.