WS 2773 then BR 659 at Toronto Pearson
Cancún → Toronto → Taipei
Timetable, Toronto time
16:10WS 2773 from Cancún at the gate
15:31BR 659 to Taipei leaves the gate
23 h 21 apart on the timetable, overnight
BR 659 leaves 23 h 21 after WS 2773 arrives on the timetable: more than half a day, so not a connection we count.