AA 6486 then UA 4166 at O'Hare
Detroit → Chicago → Madison
Timetable, Chicago time
17:29AA 6486 from Detroit at the gate
10:42UA 4166 to Madison leaves the gate
17 h 13 apart on the timetable, overnight
UA 4166 leaves 17 h 13 after AA 6486 arrives on the timetable: more than half a day, so not a connection we count.