Nothing "forces" texture switching, it simply happens when you draw things that use different textures. Since it is unlikely that your shapes use the same textures as your text, then yes, a switch will happen for each call to draw in your example.
In the end you should base your decisions on actual testing, never rely on some generic rules, things are really more complicated with so many things involved (your code, compiler, OS, graphics card, driver, ...).