Right, but I need to know which of the 4 pins under the engine go to which connection on the decoder and which of the two pins goes to the right pickup.
On the two pin connector, one pin for the right side. One pin for the left side. Check with your ohm meter.
There have been diagrams posted here in the past but not about this loco.
On the four pin, you should see somewhere in the vicinity of 100 ohms which will be the motor.
I have done this in the past so I know it works.
The other two pins will show max resistance. LED's show max resistance with an ohm meter. Some use a 9 volt battery with a 1 k resistor to check an LED.
Have not heard of anyone ever doing this with this loco so it might be a first. Would be good if you take pictures and document this for the model railroad community. I am sure, you realize this is not plug and play.
Tender wiring in Bachmann locos has been an issue here for some time.
Sorry to have to say it but Bachmann does expect users to have electrical knowledge when they work at what is called the component level.
Rich