AA 9908 then UA 777 at O'Hare
Milwaukee → Chicago → Las Vegas
Timetable, Chicago time
13:50AA 9908 from Milwaukee at the gate
12:47UA 777 to Las Vegas leaves the gate
22 h 57 apart on the timetable, overnight
UA 777 leaves 22 h 57 after AA 9908 arrives on the timetable: more than half a day, so not a connection we count.