If they had NEXUS and carry on bags they could make it - otherwise VERY doubtful.
As ILuvSQ has pointed out, this is not a legal connection so at some point after the booking has been made you will receive notification that the second flight has been changed to the later flight - problem is that is an overnight red-eye to Toronto. When they do that, tell AE/AC that the change is unacceptable and to put them on the non-stop flight to Toronto instead (they may or may not agree).