UA 3762 then AA 4434 at O'Hare
Manhattan → Chicago → Madison
Timetable, Chicago time
22:41UA 3762 from Manhattan at the gate
22:30AA 4434 to Madison leaves the gate
23 h 49 apart on the timetable, overnight
AA 4434 leaves 23 h 49 after UA 3762 arrives on the timetable: more than half a day, so not a connection we count.