Not at all. Brushing teeth doesn’t break a fast because you don’t consume anything.
Even if you swallow some toothpaste, it usually contains artificial flavors and sweeteners that won’t elicit an insulin response, and the amount you swallow is likely to be very small.
It is important to note that brushing your teeth should be a regular practice regardless of whether you are fasting.