WASHINGTON, D.C. --- Hyundai Caribbean-Puerto Rico is recalling more than 3,000 MY 2005-2007 Elantra, Tucson, Sonata, Azera and Accent vehicles. 

A malfunctioning stop lamp switch may cause the brake lights to fail to illuminate when the brake pedal is depressed, or may cause the brake lights to remain illuminated when the brake pedal is released, the NHTSA said. 

A defective stop lamp switch may also affect the operation of the brake-transmission shift interlock feature so the transmission would not be able to shift out of the "park" position. The problem may also cause the electronic stability control malfunction light to illuminate. Also, the cruise control may not deactivate when the brake pedal is depressed. 

Any of these malfunctions increases the likelihood of a crash, the NHTSA said. 

Dealers will replace the stop lamp switch free of charge. The recall is expected to begin in August. Vehicles owners may contact Hyundai of Puerto Rico at (787) 999-4310