You must have a Visa.
This is info from Simuflite:
You MUST HAVE a visa (no visa waver) to take a type rating course.
If you are send to the course by any company and they pay for it, B1/B2 visa is ok, bcz you are on business.
If you are doing it as a private person, than you need a some kind of student visa (M1).
Good luck.