AA 3951 then AA 1762 at Phoenix
Tucson → Phoenix → Denver
Timetable, Phoenix time
17:08AA 3951 from Tucson at the gate
16:15AA 1762 to Denver leaves the gate
23 h 07 apart on the timetable, overnight
AA 1762 leaves 23 h 07 after AA 3951 arrives on the timetable: more than half a day, so not a connection we count.