That's probably your 'brake light switch'. Cheap and easy to replace. You'll want to disconnect it temporarily though, it's stuck on, that's why it's getting so hot. Get a ride down to a parts store and pick up a replacement. Should be able to google a video, if you can't figure out the setup yourself.