Deterministic and stochastic Cauchy problems for a class of weakly hyperbolic operators on $$mathbb R^n$$Rn