UA 349 then AA 9908 at O'Hare
Cozumel → Chicago → Milwaukee
Timetable, Chicago time
17:05UA 349 from Cozumel at the gate
10:00AA 9908 to Milwaukee leaves the gate
16 h 55 apart on the timetable, overnight
AA 9908 leaves 16 h 55 after UA 349 arrives on the timetable: more than half a day, so not a connection we count.