AA 3018 then AA 4980 at Phoenix
Miami → Phoenix → Tucson
Timetable, Phoenix time
16:49AA 3018 from Miami at the gate
16:27AA 4980 to Tucson leaves the gate
23 h 38 apart on the timetable, overnight
AA 4980 leaves 23 h 38 after AA 3018 arrives on the timetable: more than half a day, so not a connection we count.