how does Switch work in Psipce?
but I don't know how VON and VOFF work


Your text says VON = 10 and VOFF = 0


The control signal on the left nodes has to be over 10 volts to activate the switch then, once activated, that control signal has to fall below 0 volts to deactivate the switch.