AA 9909 then AA 6498 at Phoenix
Salt Lake City → Phoenix → Santa Barbara
Timetable, Phoenix time
14:30AA 9909 from Salt Lake City at the gate
13:35AA 6498 to Santa Barbara leaves the gate
23 h 05 apart on the timetable, overnight
AA 6498 leaves 23 h 05 after AA 9909 arrives on the timetable: more than half a day, so not a connection we count.