Can these clash sensors be used to replace a faulty one on a Master Replica lightsaber?

HiLetgo 10pcs SW-18020P Vibration Switch Shake Switch Vibration Sensor https://www.amazon.co.uk/dp/B00M1PN9..._vdn-zbHMXV83R