Bwizz, I must apologise the pick up coil connector is under the right hand side cover, it is the TPS connector which is under the tank.
The pick up coil is linked to the EXUP motor, TPS, Speed Sensor, emergency stop switch and ignitor.
When I had the sudden stop problem I traced it to the dreaded green corrosion in the pick up coil connector.
Ignitor is Yamaha name for the the electronic ignition system and is the box under the seat next to the fuse box with Denso label, also known as ECU, CDI or ECM