Oil Pressure gauge freaking out

You sure the line is free of dirt or obstructions?

I'd pull the gauge and line off and blow them out with brake clean