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