UA 4717 then AA 4985 at LAX
Phoenix Sky Harbor → Los Angeles → Tucson
Timetable, Los Angeles time
15:10UA 4717 from Phoenix Sky Harbor at the gate
10:06AA 4985 to Tucson leaves the gate
18 h 56 apart on the timetable, overnight
AA 4985 leaves 18 h 56 after UA 4717 arrives on the timetable: more than half a day, so not a connection we count.