Look for a single wire (light green/red) connected to a switch on the parking brake pedal mechanism. When the brake is applied, the switch switch completes circuit to ground to light the lamp.
Also check brake fluid level. Rangers are sensitive to fluid level and usually need it adjusted closer...