Could be the Stop light switch. When you press the brake pedal do you hear a slight mechanical/electrical click? For future ref. if you regularly park on an incline/decline set the parking brake before shifting into "P". Puts the force on the brake not the little doo-dad in the "P" position.