AA 2474 then UA 5566 at O'Hare
Phoenix → Chicago → Pittsburgh
Timetable, Chicago time
14:33AA 2474 from Phoenix at the gate
14:16UA 5566 to Pittsburgh leaves the gate
23 h 43 apart on the timetable, overnight
UA 5566 leaves 23 h 43 after AA 2474 arrives on the timetable: more than half a day, so not a connection we count.