AF 3081 then DL 5297 at JFK
Chicago O'Hare → New York → Rochester
Timetable, New York time
21:45AF 3081 from Chicago O'Hare at the gate
21:16DL 5297 to Rochester leaves the gate
23 h 31 apart on the timetable, overnight
DL 5297 leaves 23 h 31 after AF 3081 arrives on the timetable: more than half a day, so not a connection we count.