AA 3996 then WN 3287 at Phoenix
Tucson → Phoenix → Sacramento
Timetable, Phoenix time
15:46AA 3996 from Tucson at the gate
14:55WN 3287 to Sacramento leaves the gate
23 h 09 apart on the timetable, overnight
WN 3287 leaves 23 h 09 after AA 3996 arrives on the timetable: more than half a day, so not a connection we count.