AC 1513 then AC 1914 at Toronto Pearson
Newark → Toronto → Ottawa
Timetable, Toronto time
22:20AC 1513 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 1513 arrives on the timetable: more than half a day, so not a connection we count.