UA 1874 then AC 1950 at Toronto Pearson
Denver → Toronto → Quebec
Timetable, Toronto time
15:02UA 1874 from Denver at the gate
08:15AC 1950 to Quebec leaves the gate
17 h 13 apart on the timetable, overnight
AC 1950 leaves 17 h 13 after UA 1874 arrives on the timetable: more than half a day, so not a connection we count.