Here is the hands down, surefire way to cook perfect brats (I know a thing or 2 about this having lived in Sheboygan, the brat capital of the world, my entire life.
First. don't EVER, repeat EVER and emphasize EVER, boil brats before cooking. That will get you seriously injured around here...