Top oven element will not turn off

When my wife went to use oven the top element(broiler) turn on which cause what she was baking to burn. When she turn the oven off the top element would not power off. Had to throw breaker to range to power it off. Please let me know what is wrong? Thank you!