UA 1164 then DL 5764 at Newark
Miami → New York → Boston
Timetable, New York time
08:59UA 1164 from Miami at the gate
08:40DL 5764 to Boston leaves the gate
23 h 41 apart on the timetable, overnight
DL 5764 leaves 23 h 41 after UA 1164 arrives on the timetable: more than half a day, so not a connection we count.