AA 42 then U2 4665 at Charles de Gaulle
New York JFK → Paris → Marrakesh
Timetable, Paris time
06:35AA 42 from New York JFK at the gate
06:00U2 4665 to Marrakesh leaves the gate
23 h 25 apart on the timetable, overnight
U2 4665 leaves 23 h 25 after AA 42 arrives on the timetable: more than half a day, so not a connection we count.