AA 835 then UA 5618 at O'Hare
Miami → Chicago → Washington National
Timetable, Chicago time
15:31AA 835 from Miami at the gate
14:00UA 5618 to Washington National leaves the gate
22 h 29 apart on the timetable, overnight
UA 5618 leaves 22 h 29 after AA 835 arrives on the timetable: more than half a day, so not a connection we count.