Heat olive oil in a large skillet over medium heat. Add the diced onion and minced garlic, sautéing until the onion becomes translucent, about 3-4 minutes.
Add the ground beef to the skillet, breaking it up with a spoon. Cook until browned and fully cooked, about 5-7 minutes. Drain excess fat if necessary.
Stir in the taco seasoning and cook for 1-2 minutes to allow the spices to bloom.
Pour in the diced tomatoes (with their juice) and the beef broth, bringing the mixture to a simmer.
Add the elbow macaroni and stir to combine. Cover the skillet and let it simmer for 10-12 minutes, stirring occasionally, until the pasta is al dente and the liquid is mostly absorbed.
Once the pasta is cooked, mix in the corn and shredded cheddar cheese. Stir until the cheese is melted and everything is evenly combined.
Season with salt and pepper to taste.
Remove from heat, garnish with chopped cilantro, and serve hot.