Chevy/Ford, same principal. The ignition switch is located on top of the steering column, under the dash. Its connected to the key switch by a linkage rod inside the steering column tube. Remove two bolts and let the steering column drop to access the switch, fairly easy job.
I could not find a diagram for the Ranger, but this one for a F250 will give you a general idea