Yes, a whole-house generator qualifies as a major purchase. If you itemize your deductions and wish to take the sales tax deduction, you can add the tax on the generator to the amount from the optional sales tax tables .
Keep in mind, you must choose between deducting your state and local income taxes or your state and local sales taxes. You can't claim both.
See Where do I enter my sales taxes paid? to enter the amount.