shifting shuts my car off

the verter locked up in my 86 dodge truck,the only way i figured out the problem was to jack the rear wheels off the ground,and try to put it in gear then.I knew the rear end wasnt locked up because i could push the truck a little bit in nuetral