After pressing the tofu, cut it into cubes. Using a non-stick saucepan over medium heat brown all sides of the tofu; transfer to a plate or bowl and set aside.
Using the same saucepan, add the shallots, chiles, garlic, and ginger. Reduce heat to low and saute, stirring occasionally, for 15 minutes until it is soft.
Add the soy sauce, sugar, and black pepper. Add the tofu, and combine well, allowing it to warm completely for about 1 minute. Add the scallions and serve with a bowl of rice.