DL 5771 then AA 3980 at Detroit
Indianapolis → Detroit → Chicago O'Hare
Timetable, Detroit time
18:14DL 5771 from Indianapolis at the gate
16:54AA 3980 to Chicago O'Hare leaves the gate
22 h 40 apart on the timetable, overnight
AA 3980 leaves 22 h 40 after DL 5771 arrives on the timetable: more than half a day, so not a connection we count.