Dealer ought to have the plug and short leads with the crimped on connector.
Terminals are identified on the switch
2= normally closed idle signal brn/blue wire in harness
18= ground (common terminal) brn/orange wire in harness
3= normally open WOT signal brn/blk wire in harness
The colors are from E34 but I'm confident same on E28