That looks like a plain solenoid so you can wire it either way as its just two pins, then you have to give one side Ignition on 12V and the other the PWM from the ECU low side INJ or IGBT outputs
Also switch
you need to wire one side of the switch to ground and the other to ECU analog that is already pulled up to 5v, then when switched it´ll pull it down to 0v and you can activate the ALS and the output for those IAC valves