Preheat oven to 375°F (190°C).
Cook gnocchi according to package instructions; drain and set aside.
In a large skillet, brown the ground beef over medium heat until fully cooked; drain excess fat.
Stir in taco seasoning, salsa, black beans, and corn into the cooked beef; simmer for 5 minutes.
Add cooked gnocchi to the beef mixture and stir until well combined.
Transfer the gnocchi mixture to a baking dish and sprinkle with shredded cheese.
Bake in the preheated oven for 15-20 minutes or until cheese is melted and bubbly.
Garnish with chopped cilantro and serve with sour cream if desired.