Pin 2 on the sensor would naturally go to the only dedicated +5V output on EC36 pin 28.
Where did you get pin 4 from? That's a low current output driver, with a pull-up for tachometers.
And pin 2 on the sensor is the 5V input, why what how did you relate that to an analog input on the ECU?
And yes, pin 3 on the sensor goes to an analog input of choice - one without +5V pull-up. These are on the EC18 connector, unless you have a PnP ECU or some unusual wiring, and should be described in full on the papers that came with the ECU.
Pin 1 on the sensor must go to sensor ground, I should point that out at this point.