Does the light come on when you tap the brake pedal? If so, it's probably the brake light switch. In any case, the switch is cheap (get it at the dealer) and by replacing it, you can check that off your troubleshooting list. Always good to eliminate the cheap and easy possibilities first before throwing expensive parts or STAR scans at the problem.
Fred