UA 5195 then UA 4166 at O'Hare
Macon → Chicago → Madison
Timetable, Chicago time
14:30UA 5195 from Macon at the gate
10:42UA 4166 to Madison leaves the gate
20 h 12 apart on the timetable, overnight
UA 4166 leaves 20 h 12 after UA 5195 arrives on the timetable: more than half a day, so not a connection we count.