UA 3762 then AA 4958 at O'Hare
Manhattan → Chicago → Sioux Falls
Timetable, Chicago time
22:41UA 3762 from Manhattan at the gate
17:07AA 4958 to Sioux Falls leaves the gate
18 h 26 apart on the timetable, overnight
AA 4958 leaves 18 h 26 after UA 3762 arrives on the timetable: more than half a day, so not a connection we count.