UA 3400 then CI 5301 at Toronto Pearson
Newark → Toronto → Taipei
Timetable, Toronto time
13:43UA 3400 from Newark at the gate
13:18CI 5301 to Taipei leaves the gate
23 h 35 apart on the timetable, overnight
CI 5301 leaves 23 h 35 after UA 3400 arrives on the timetable: more than half a day, so not a connection we count.