Stochastic node in pymc v5

This is explicitly not allowed. If you want to do it you have to implement your own step sampler that just returns draws from the prior. To my knowledge there is about 0 work out there suggesting you would ever want to do this.