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