Selected by CGN, here is a TEKNIX brand sensor, it is of good quality. Ideal in case of breakage, wear, ...
From your original sensor on your YAMAHA T-MAX 500 4T, the sensor is around the bell.
It serves to capture the advance to give to the ignition.