UA 3654 then DL 5764 at Newark
Kansas City → New York → Boston
Timetable, New York time
10:06UA 3654 from Kansas City at the gate
08:40DL 5764 to Boston leaves the gate
22 h 34 apart on the timetable, overnight
DL 5764 leaves 22 h 34 after UA 3654 arrives on the timetable: more than half a day, so not a connection we count.