How to run a snippet when checkbox selected or unselected?

Model Actions is your answer. You can set to run actions on “When Row is Updated” and select the field in question. Then you can select the snippet you created.