DL 5771 then DL 2934 at Detroit
Indianapolis → Detroit → New York JFK
Timetable, Detroit time
18:14DL 5771 from Indianapolis at the gate
15:59DL 2934 to New York JFK leaves the gate
21 h 45 apart on the timetable, overnight
DL 2934 leaves 21 h 45 after DL 5771 arrives on the timetable: more than half a day, so not a connection we count.