The P0032 code indicates that the upstream O2 sensor is reporting a high voltage condition. Since you've already replaced the sensor and confirmed that the new one is functioning by swapping it with the downstream sensor, it definitely sounds like a wiring or connection issue.
Here are a few...