AA 5886 then BR 659 at Toronto Pearson
Philadelphia → Toronto → Taipei
Timetable, Toronto time
17:24AA 5886 from Philadelphia at the gate
15:31BR 659 to Taipei leaves the gate
22 h 07 apart on the timetable, overnight
BR 659 leaves 22 h 07 after AA 5886 arrives on the timetable: more than half a day, so not a connection we count.