What year is your donor axle? The pump is a simple power and ground, add a witch and a relay like you would any on/off part. The detent you can wire into your switch if it has a light, have the detent supply ground to turn the light on when the locker is engaged.
There are more and less complicated ways to do the job, easiest is power and gorund to a switch to the locker pump. Most involved would be a safety switch with 2 lights, one light for illuminating the switch at night and one for the detent plus a relay.