AA 4982 then AA 2439 at Phoenix
Tucson → Phoenix → San Diego
Timetable, Phoenix time
20:54AA 4982 from Tucson at the gate
20:38AA 2439 to San Diego leaves the gate
23 h 44 apart on the timetable, overnight
AA 2439 leaves 23 h 44 after AA 4982 arrives on the timetable: more than half a day, so not a connection we count.