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