Global regularity and stability in $S$-spaces for classes of degnenerate Shubin operators