FR 5564 then EI 107 at Dublin
Glasgow → Dublin → New York JFK
Timetable, Dublin time
23:25FR 5564 from Glasgow at the gate
16:45EI 107 to New York JFK leaves the gate
17 h 20 apart on the timetable, overnight
EI 107 leaves 17 h 20 after FR 5564 arrives on the timetable: more than half a day, so not a connection we count.