Try it with MDI when you would normally use the switch, that way you will know for sure its the switch. What to do is when you are doing your toolchange as mentioned in your first post then instead of using the switch turn the coolant on by typeing M8 into the MDI line, then to turn off again type M9. If the problem doesnnt happen then it looks like the switch itself may be the problem.
Hood