I routinely do YYZ- MGA via MIA and the price is the same when I take the last flight to MIA, stay overnight in MIA Hotel and then leave on the early MIA-MGA flight. Just find a flight than arrives to late to connect and try it. The alternative is a flight that connects with a 7 hour layover in MIA and a late flight out that arrives far too late.