Start unplugging
Fourwd1 is on the right track. When the light's on, unplug the master cylinder level sensor. If the light goes out, there's your problem. If not, plug it in and try the same with the parking brake switch. It will be one of the 2. Once you find it, you just need to determine if...