MS 987 then DL 5764 at Newark
Cairo → New York → Boston
Timetable, New York time
09:00MS 987 from Cairo at the gate
08:40DL 5764 to Boston leaves the gate
23 h 40 apart on the timetable, overnight
DL 5764 leaves 23 h 40 after MS 987 arrives on the timetable: more than half a day, so not a connection we count.