DL 5703 then B6 1017 at Boston
Baltimore → Boston → New York JFK
Timetable, Boston time
10:41DL 5703 from Baltimore at the gate
09:42B6 1017 to New York JFK leaves the gate
23 h 01 apart on the timetable, overnight
B6 1017 leaves 23 h 01 after DL 5703 arrives on the timetable: more than half a day, so not a connection we count.