As anyone with Ford experience knows, they are certainly notorious for electrical issues.
The dome light gets stuck being on, which could drain the battery, so I just keep a tap light in and the fuse for the dome light out.
The door ajar buzzer goes off every now and then when the door is shut, which is why the dome light can get stuck on.
The main mechanical issue that is ongoing is the check engine light. This is the second Ranger I have owned (1997 Mazda B2300, same $&!%, different day). The code that comes up is some generic one about the factory air intake system (in the Mazda System too lean). The only two things I haven't had looked at are the fuel injectors and vacuums. Runs fine with some hesitation every now and then. It's a 4 banger, so that isn't a big deal.
For those with experience with trucks, things that typically go bad are the shackles in the leaf springs. Had those replaced about two years ago; kinda pricey, but I know some people now who can fix it for less; that was $800. Put new shocks and springs on it, and new ball joints.
Overall, I think I have put about $2000 in it since buying. Hasn't left me stranded, and has handled a half dozen moves.
It is hard for me to recommend this truck, just because of the electrical issues and the Check Engine OBD issue.
I have very low expectations for cars and trucks, so I can I live with all these, and still love my truck. I understand how some other people can't. These trucks do last, and are built better than GM trucks.