With the engine running? The brake light will be on when engine is off, once engine starts, light will go off.
Disconnecting the master cylinder cap switch shuts the light off if its a problem with the switch, so if that didn't shut it off, its elsewhere.
Crawl under the dash and disconnect the parking brake switch connector, you can also leave the master cylinder connector disconnected for this test.
Start engine, light should go off. If it does, plug master cylinder connector back in, light should still be off. If not, replace that one. Disconnect it again and plug the parking brake switch back in. If light comes on, replace that switch too.
One other thing, when you turn key to on position without starting, do you see the CHARGE light too? If not, you may have a burnt out bulb in the dash for that light. This could also mean that your charging system is going out.
Toyota has a dual light check system for the alternator, it lights both CHARGE and BRAKE at the same time if the alternator is not putting out the correct current. If you're seeing flickering of both lights (or just brake if the other is blown), it might be time to get the alternator tested.
If its none of the above, then its going to be a wiring issue somewhere. How is the wiring harnesses in this vehicle? Any other issues or weird connectors that aren't stock anywhere?