Random switch