DL 5731 then DL 5814 at Boston
Pittsburgh → Boston → New York JFK
Timetable, Boston time
18:44DL 5731 from Pittsburgh at the gate
17:05DL 5814 to New York JFK leaves the gate
22 h 21 apart on the timetable, overnight
DL 5814 leaves 22 h 21 after DL 5731 arrives on the timetable: more than half a day, so not a connection we count.