DL 5798 then WN 1957 at Boston
New York JFK → Boston → Baltimore
Timetable, Boston time
18:59DL 5798 from New York JFK at the gate
17:35WN 1957 to Baltimore leaves the gate
22 h 36 apart on the timetable, overnight
WN 1957 leaves 22 h 36 after DL 5798 arrives on the timetable: more than half a day, so not a connection we count.