UA 4717 then AA 2998 at LAX
Phoenix Sky Harbor → Los Angeles → Chicago O'Hare
Timetable, Los Angeles time
15:10UA 4717 from Phoenix Sky Harbor at the gate
09:40AA 2998 to Chicago O'Hare leaves the gate
18 h 30 apart on the timetable, overnight
AA 2998 leaves 18 h 30 after UA 4717 arrives on the timetable: more than half a day, so not a connection we count.