I know the 98+ Accords had a recall for the ignition switches and this sounds similar.
If the car turns off yet you can still operate the headlights and any other electrical component as if they key was out of the ignition, it's likely an ignition switch problem.
The fact that you have to hold the key down sounds like a loose connection in the ignition switch. If you jiggle the key with the car running, does it studder or turn off?
SPONSORED LINKS
Tuesday, December 5th, 2006 AT 9:30 AM