Press the tofu by wrapping it in a clean kitchen towel and placing a heavy object on top to remove excess moisture for about 10 minutes.
Cut the pressed tofu into 1-inch cubes and toss them in a bowl with cornstarch, ensuring every piece is coated evenly.
Heat 2 tablespoons of olive oil in a non-stick skillet over medium-high heat. Add the tofu cubes and cook for about 10-15 minutes, turning occasionally, until crispy and golden brown. Remove from skillet and set aside.
In the same skillet, add the remaining tablespoon of olive oil and sauté the minced garlic for about 1 minute until fragrant.
Add the halved cherry tomatoes to the skillet and cook until they soften, about 2-3 minutes.
Pour in the vegetable broth, soy sauce, balsamic vinegar, and Italian seasoning. Bring to a simmer and let cook for another 2 minutes.
Meanwhile, in a separate pot, boil water and cook the gnocchi according to package instructions, usually about 2-3 minutes until they float. Drain using a slotted spoon.
Add the crispy tofu and cooked gnocchi to the skillet with the sauce. Toss everything together gently to coat.
Season with salt and pepper to taste, and cook for an additional 2 minutes to heat through.
Serve hot, garnished with fresh basil leaves.