AA 418 then UX 98 at Miami
Memphis → Miami → Madrid
Timetable, Miami time
08:55AA 418 from Memphis at the gate
21:45UX 98 to Madrid leaves the gate
12 h 50 apart on the timetable
UX 98 leaves 12 h 50 after AA 418 arrives on the timetable: more than half a day, so not a connection we count.