AA 4043 then UA 3874 at O'Hare
Wichita → Chicago → LCQ
Timetable, Chicago time
08:50AA 4043 from Wichita at the gate
06:30UA 3874 to LCQ leaves the gate
21 h 40 apart on the timetable, overnight
UA 3874 leaves 21 h 40 after AA 4043 arrives on the timetable: more than half a day, so not a connection we count.