If by safe you mean recession proof, whatever that means to you, I think whether or not you switch comes down to what is going to make you happier and if you perceive risk, in your worst case situation can You afford to be without work for a while. Best of luck