Do you get a W-2 or do you get a 1099-NEC?
If you get a W-2 you are an employee and you cannot deduct job-related expenses.
If you get a 1099-NEC you are an independent contractor, which means you are in business for yourself. You are the business, and you can deduct business expenses.