DL 5067 then DL 5297 at JFK
Charlotte → New York → Rochester
Timetable, New York time
21:29DL 5067 from Charlotte at the gate
21:16DL 5297 to Rochester leaves the gate
23 h 47 apart on the timetable, overnight
DL 5297 leaves 23 h 47 after DL 5067 arrives on the timetable: more than half a day, so not a connection we count.