I will leave you with one piece of advice. This is one of the hardest jobs I've ever had. It takes a lot of work. It requires wear and tear on your car and does not provide a salary. This is a 100% commission job and you do not receive any benefits. There is no guarantee that you will earn any money, even if you are showing houses to clients. I have had many deals fall through the cracks. Transactions take up to 45+ days and you will not receive a paycheck until after you close. If you work hard and grind, you can succeed very well in this industry. Early mornings, late nights, and weekends. If you are not willing to put in the effort early on in your career, I would advise a different job with salary + commission. Real Estate is really fun and rewarding, but it takes a lot effort.
If you decide to take the class, I would suggest reading a lot of forums. I passed my exam on my fifth attempt. It was hard, but if you study correctly and efficiently, you will pass it! Never give up.
New York Real Estate License School: https://www.realestateexpress.com/real-estate-license/new-york/