AC 744 then AC 2058 at Toronto Pearson
San Francisco → Toronto → St. John's
Timetable, Toronto time
00:29AC 744 from San Francisco at the gate
18:45AC 2058 to St. John's leaves the gate
18 h 16 apart on the timetable
AC 2058 leaves 18 h 16 after AC 744 arrives on the timetable: more than half a day, so not a connection we count.