No. Workers’ compensation laws in New York do prevent you from suing your boss directly; however, you may be entitled to file suit against the owner of the job site and/or your general contractor.
If I receive workers’ compensation, does that prevent me from filing a lawsuit?