While you might decide you want to specialize down the line, when you’re getting an education, product design courses and UX design courses are often very similar or identical. The job descriptions of a product designer and a UX designer often have a lot of overlap.
So don’t let the specific title of the course change your decision of whether to enroll: either a UX design or a product design course are equally likely to get you hired in the field.