AA 4775 then UA 3904 at O'Hare
Madison → Chicago → Denver
Timetable, Chicago time
06:14AA 4775 from Madison at the gate
19:00UA 3904 to Denver leaves the gate
12 h 46 apart on the timetable
UA 3904 leaves 12 h 46 after AA 4775 arrives on the timetable: more than half a day, so not a connection we count.