The affected vehicles are the Chevrolet Colorado and GMC Canyon from the 2004-2006 model years and the 2006 Isuzu i-280 and i-350.
GM said some vehicles may permanently lose brake-lamp function or have brake lamps that are always on. On vehicles with cruise control, that function also becomes inoperative.
GM spokesman Alan Adler said the company was not aware of any crashes resulting from the problem.
Dealers will replace the brake lamp switch assembly in the affected vehicles at no charge.
The National Highway Traffic Safety Administration contacted GM to inquire about the issue after receiving three complaints, and the company issued the recall in response, Adler said.
GM notified NHTSA of the recall in a letter dated Friday.