How Does a 4-Pin Switch Work?

How Does a 4-Pin Switch Work?