Sometimes when I start my truck the starter does not disengage. I will turn the key to off but it keeps spinning. Won't stop until I pull a wire off the battery. Would this be a Solenoid, starter or both problem?

Thanks,
Mark