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