AA 4669 then UA 5194 at O'Hare
Madison → Chicago → Sioux City
Timetable, Chicago time
08:00AA 4669 from Madison at the gate
00:00UA 5194 to Sioux City leaves the gate
16 h apart on the timetable, overnight
UA 5194 leaves 16 h after AA 4669 arrives on the timetable: more than half a day, so not a connection we count.