1990 GMC Sierra

We recently had a problem with our truck not starting.  We replaced the battery, battery cable, iginition switch, starter, and the ignition key switch.  With all of that it now starts.  Our problem now is, it will not shift.  It will shift in accessory, but that’s it.  What happened?