the shifter gets stuck on my car when the light doesn't come on, how do i fix it on 1991 Acura Integra

when i put my car in park the shift light doesn't come on and it gets stuck in park and the key wont come out. Ill move it around and play with it then the light comes on and it works again, whats the problem? how do I fix it and is it expensive??

Asked by for the 1991 Acura Integra
sounds like a bad shift solenoid don't think its too much