What is wrong with a 1990 Pontiac LeMans if it starts fine but will not shift out of park?

The linkage for the brake pedal lockout is down on the shifter and when coke and coffee is spilled on the console, it runs on it and keeps it from working. You have to remove the console and clean the linkage.