AA 9786 then UA 5201 at O'Hare
Phoenix → Chicago → Milwaukee
Timetable, Chicago time
07:10AA 9786 from Phoenix at the gate
20:00UA 5201 to Milwaukee leaves the gate
12 h 50 apart on the timetable
UA 5201 leaves 12 h 50 after AA 9786 arrives on the timetable: more than half a day, so not a connection we count.