Use a switch for an immediate effect
Default
Rule. Use a switch for a setting that takes effect at once, and a checkbox when the person saves later.
Why. A switch says "this is on now." A switch in a form that needs Save breaks that promise.
Do. Each switch applies the moment it moves.
Don't. A switch plus Save: the person cannot tell when it applies.