Your bags would be checked right through, no need to claim them in YUL. In normal times, you would clear Canadian immigration and can then head downtown. 7.5h is plenty of time.
It goes without saying that the feasibility of your plan as such is entirely dependent on the easing of Covid-related restrictions in Canada and Austria by July. But there is plently of info on that in other threads.