Oil Pump Issue

Yes that is all you need to do.
If you want you can also put a "tee" in and run both the light and a gauge.
The gauge will have instruction on how to hook up.