My old Cherokee had the stuck key problem after sitting for a couple years.
Turned out the linkage bar from the ignition that travels down the underside of the steering column got rusty and stuck in place.

Had to remove the lower part of the dash to get under there and lube it up but it finally let go and has worked fine ever since.