If you are eating 4000 kcal/day, you are almost certainly getting a lot of protein. At 4000kcals, even the example of a 100% sweet potato diet is getting you to around ~80g of protein (well above average person recommendations of 50g/day). If any significant portion of that is tofu, the number is going to be even higher. Tofu has like 30-50g of protein per block (varying based on soft vs firm vs extra-firm)
~800 kcals of tofu (~2 blocks of firm tofu) is already putting you at like 90-100g protein assuming you ate zero other protein from anything else for the rest of your 3200 kcals (which will not be the case unless you ate like somehow ate 100% pure cornstarch)