01 - Toss tofu cubes with cornstarch, salt, and pepper until evenly coated. Heat 2 tablespoons olive oil over medium-high heat in a large nonstick skillet. Add tofu and cook, turning occasionally, until golden and crispy on all sides, approximately 8–10 minutes. Remove from skillet and set aside on a plate.
02 - Bring a large pot of salted water to a rolling boil. Add gnocchi and cook according to package directions until they float to the surface, typically 2–3 minutes for fresh or 3–4 minutes for shelf-stable varieties. Drain thoroughly and set aside.
03 - In the same skillet used for tofu, heat 2 tablespoons olive oil over medium heat. Add minced garlic and diced onion; sauté for 2–3 minutes until translucent and fragrant. Stir in sun-dried tomatoes, oregano, basil, and red pepper flakes; continue cooking for another 1–2 minutes to meld flavors.
04 - Pour vegetable broth into the skillet and simmer for 2 minutes to reduce slightly. Lower heat and stir in heavy cream and Parmesan cheese. Cook, stirring gently, until the sauce thickens and coats the back of a spoon, about 3–4 minutes. Season with salt and pepper to taste.
05 - Add cooked gnocchi and crispy tofu to the finished sauce. Toss gently to coat everything evenly and heat through for 2 minutes. Serve immediately, garnished with fresh basil leaves and additional Parmesan cheese.