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