If the total sales taxes you paid during the entire year is more than your itemized deductions, you can choose to use the total sales taxes as your deduction rather than itemized deductions.
The important thing you need to know is that if you do choose sales taxes as your deduction, you cannot deduct any other expenses, e.g., mortgage interests, property taxes, paid state income tax and etc.
I am not a CPA. Therefore please consult a CPA or call IRS to get accurate information in this regard.