WN 471 then AA 2627 at Phoenix
Tucson → Phoenix → Santa Barbara
Timetable, Phoenix time
19:05WN 471 from Tucson at the gate
17:48AA 2627 to Santa Barbara leaves the gate
22 h 43 apart on the timetable, overnight
AA 2627 leaves 22 h 43 after WN 471 arrives on the timetable: more than half a day, so not a connection we count.