AA 9909 then AA 3958 at Phoenix
Salt Lake City → Phoenix → Tucson
Timetable, Phoenix time
14:30AA 9909 from Salt Lake City at the gate
12:25AA 3958 to Tucson leaves the gate
21 h 55 apart on the timetable, overnight
AA 3958 leaves 21 h 55 after AA 9909 arrives on the timetable: more than half a day, so not a connection we count.