DL 5294 then DL 5595 at JFK
Raleigh-Durham → New York → Washington
Timetable, New York time
12:08DL 5294 from Raleigh-Durham at the gate
10:25DL 5595 to Washington leaves the gate
22 h 17 apart on the timetable, overnight
DL 5595 leaves 22 h 17 after DL 5294 arrives on the timetable: more than half a day, so not a connection we count.