Prepare two 9x13 casserole dishes with nonstick cooking spray.
Cook pasta according to package directions until al dente. Drain well.
In a large skillet over medium-high heat, brown the ground beef and crumble it. Season with salt and pepper. Add the onion, cooking an additional 5 minutes. Drain the grease.
In a mixing bowl, combine the garlic, diced tomatoes, ketchup, brown sugar, and yellow mustard.
In a huge bowl, stir together the pasta, beef and onion, bell peppers, corn, and sauce.
Divide between the two casserole dishes.
Top with cheese.
When ready to bake, preheat the oven to 350 degrees. If room temperature, cook for 20 to 30 minutes or until the edges are bubbly and the cheese has melted. If from frozen, cook for 1 hour.