Lemon Laws vary from state to state. As you can see below NY and FL both have a 24 month limit on new vehicles, but NY has an 18K mileage limit and FL have a more lenient 24K mileage limit.
Here is NY law
The New Car Lemon Law protects those who buy or lease new cars or motor homes that turn out to be "lemons." If your car does not conform to the terms of the written warranty and the manufacturer or its authorized dealer is unable to repair the car after a reasonable number of attempts, you may be entitled to a full refund or a comparable replacement car. NOTE: A car is considered new if it was purchased less than two years from its original delivery date and has fewer than 18,000 miles on it.
Here is FL Lemon Law
Time limit: Florida's Lemon Law has a mileage limit of 24,000 miles. You have 24 months from the delivery date of your vehicle to take action under the Florida Lemon Law. Mileage limit: The vehicle must have 24,000 miles or fewer on the odometer, whichever comes first.