The breaker is probably bad if the switchflops back and forth and there isn't a definite on or off position. If the circuit breaker does not trip immediately, you have an overload circuit, which means that the circuit has more electricity flowing through it than it is rated for.
Let's Get It Fixed!
HomeX virtual experts will assess your issue (for free!) and can resolve simple problems.