Stop in for a cup of coffee

2007 ranger 4 cyl manual trans.
Drove in shop fine.
Complaint is stalling.
It is getting feedback from a ground somewhere.
Turn on heater fan,turn signal indicators glow and engine quits.
Same with shifting to reverse
And headlights.
I cant find any wiring diagrams or even where fuel pump ground terminates.

Now,out of the blue its behaving perfectly.