Local parts store will have the shell. Just pop that one open, pull the little board out and put it in the new shell.
I had to replace one of mine that was broken off my keys and lost and bought https://www.amazon.com/Motormite-99352-Keyless-Remote-Button/dp/B078XJWCH7