Put the switch before the transformer (unless the transformer is being used as the fluorescent ballast).
SLS! (Stop LED Streetlights!)