Auto Garage Lights

I just installed ring alarm at my house. I have a motion detector in my garge. If I was to purchase the GE in wall toggle switch that’s advertised on the ring website, would I be able to link it so the garage lights would come on when motion is detected?