Cook macaroni according to package directions and drain.
Brown the ground beef with the onion and corn; drain off fat.
Season with salt, pepper and taco seasoning, then add tomatoes, black beans and tomato sauce and heat through.
Combine cooked macaroni with sauce in a large mixing bowl and place in an oblong casserole dish that has been sprayed with nonstick spray or lightly greased.
Sprinkle cheese over the top.
Bake about 25 minutes or until hot and bubbly and cheese has melted.