That is bizarre. The brake warning lamp does nothing except indicate either the parking brake is set, the brake fluid has air or a leak, or that you turned the key to start. that's a really weird issue if it's lighting the brake light before shutting down. I don't see how that would be a PCM issue even but maybe a short somewhere? Not sure, going to need to grab the meter and do some testing I think.