If you have 4 hours of effective time, Iīd say itīs enough to do the trip mentioned by YVR Cockroach.
If you have only 4 hours from sceduled arrival of the first flight to sceduled departure of your connection itīs for sure too tight as VIE airport is far away from the city.