AC 8885 then AC 1914 at Toronto Pearson
Newark → Toronto → Ottawa
Timetable, Toronto time
22:20AC 8885 from Newark at the gate
16:10AC 1914 to Ottawa leaves the gate
17 h 50 apart on the timetable, overnight
AC 1914 leaves 17 h 50 after AC 8885 arrives on the timetable: more than half a day, so not a connection we count.