DL 5170 then AC 1914 at Toronto Pearson
New York JFK → Toronto → Ottawa
Timetable, Toronto time
22:51DL 5170 from New York JFK at the gate
16:10AC 1914 to Ottawa leaves the gate
17 h 19 apart on the timetable, overnight
AC 1914 leaves 17 h 19 after DL 5170 arrives on the timetable: more than half a day, so not a connection we count.