Hello, thank you for getting in touch and for your support!
In order to allow the shader to be changed in runtime through the Static Switch node, you likely need to set its Keyword Type property to Multi Compile, as it will generate all shader variants and include them all in the build. The Shader Feature type will only generate the used variants, and will only include in the build the active one, making it extremely efficient.
To clarify, the general purpose of the
Static Switch node is to allow for the generation of a number of
shader variants, which are generated internally by Unity depending on the type of Keyword that you're using.
In short, Toggles are comparable to Lerp nodes, as they execute all calculations, while Static Switches can execute only what you define.