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