AA 4978 then AA 9795 at Phoenix
Fresno → Phoenix → Santa Clara
Timetable, Phoenix time
18:10AA 4978 from Fresno at the gate
07:00AA 9795 to Santa Clara leaves the gate
12 h 50 apart on the timetable, overnight
AA 9795 leaves 12 h 50 after AA 4978 arrives on the timetable: more than half a day, so not a connection we count.