I have an expansion connector coming out of my g4+ and I’m using a genuine link oil pressure sensor and I have connected them the following way.
Expansion loom: Ground - Sensor Ground
Expansion Loom: +5v - Sensor 5V
Expansion loom: analog input 8 - sensor signal