As a percentage of calories, cashews are slightly higher in fat than tofu. Regardless, I wouldn't worry about which one you choose, just use the "cheese" that you make sparingly.
Alternatively, if you are trying to make a cheesy style sauce, I really like this one:
https://www.brandnewvegan.com/recipes/d ... eese-sauceThis one uses carrots, potatoes, and nutritional yeast. No nuts or tofu. I'll mix it up with some pasta and veggies. Basically a much healthier version of mac and cheese.