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