PD 766 then BR 659 at Toronto Pearson
Cancún → Toronto → Taipei
Timetable, Toronto time
18:59PD 766 from Cancún at the gate
15:31BR 659 to Taipei leaves the gate
20 h 32 apart on the timetable, overnight
BR 659 leaves 20 h 32 after PD 766 arrives on the timetable: more than half a day, so not a connection we count.