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