UA 718 then EY 2747 at San Francisco
Mexico City → San Francisco → Lisbon
Timetable, San Francisco time
16:44UA 718 from Mexico City at the gatealso AC 5033
16:35EY 2747 to Lisbon leaves the gatealso B6 6762
23 h 51 apart on the timetable, overnight
EY 2747 leaves 23 h 51 after UA 718 arrives on the timetable: more than half a day, so not a connection we count.