2003 Ford Ranger Neutral Safety Switch Replacement

Tried a new shift cable a couple months ago but the hard shifting continued. The shaft off the side of the transmission and neutral safety switch were next on the list.