AA 9866 then UA 224 at O'Hare
Marquette → Chicago → Bozeman
Timetable, Chicago time
10:30AA 9866 from Marquette at the gate
09:07UA 224 to Bozeman leaves the gate
22 h 37 apart on the timetable, overnight
UA 224 leaves 22 h 37 after AA 9866 arrives on the timetable: more than half a day, so not a connection we count.