Can I fix or replace the trans range sensor on a 02 intrepid or does a trans shop or dealer have to do it?

Apparently it is internal and the manual I have says the home mechanic shouldn't mess with it. I don't have alot of transmission experience except changing fluid & filter.

FYI I'm getting a P0706 code with a P0501 and the speedo is not working.