The steering wheel's locking mechanism can sometimes screw with the ignition swtich. Try jerking the wheel back toward neutral while starting. Also check to see if the tires are aligned.
your shift solenoid a is stuck open in your tranny time for a gagage visit
There are a couple of reasons why a 1998 Honda Accord may be stuck in park. The immobilizer system may need to be replaced or the transmission is having problems.
What to do when the gear is stuck in park on a Honda 2001
Change your fuel sending unit.
Hit it with a big hammer
Find the Shifter Lock Override Slot. It'll be under a cap. Remove the cap, push down on the lever inside with a nail file or something, and shift into neutral.
Heater core is stopped up or thermostat is stuck open.
Adjust or replace the brake light switch.
If you are referring to the brake light then the brake light switch is stuck.
First a question. Were you stepping on the brake when you tried to shift it out of park?
My 1998 Honda Accord LX was getting stuck intermittently in Park. I found that the switch that turns on the brake light when you press the bake pedal was going out. This switch is $32.00 at any Honda dealer and most importantly YOU can change it yourself. Ironically, that same switch activates the gear shifter pin that lets you take it in and out of gear.
It is illegal to repair brakes by an average person take the vehicle to a qualified person.