AA 986 then UA 5344 at O'Hare
Baltimore → Chicago → Spokane
Timetable, Chicago time
08:50AA 986 from Baltimore at the gate
08:40UA 5344 to Spokane leaves the gate
23 h 50 apart on the timetable, overnight
UA 5344 leaves 23 h 50 after AA 986 arrives on the timetable: more than half a day, so not a connection we count.