DETROIT, Michigan - Fiat Chrysler is recalling nearly 1.8 million Ram trucks mainly in North America because they can be shifted out of park without the driver's foot on the brake or possibly without the key in the ignition.

Included are certain 2010 through 2017 Ram 2500 and 3500 pickups, many 2011 through 2017 Ram 3500, 4500 and 5500 chassis cabs, and 2016 and 2017 Ram 3500 chassis cabs that weigh less than 10,000 pounds. Also covered are some 2009 through 2017 Ram 1500 pickups. Trucks from 2017 built after Dec. 31, 2016 are not included.

About 1.48 million vehicles subject to the recall are in the U.S.

The company says the brake-transmission shift interlock device can fail due to long-term exposure to high interior temperatures linked to an electrical problem. That can let the shifter move out of park without the brake pedal being pressed or without a key in the ignition. The problem increases the risk of the trucks rolling away accidentally.

Fiat Chrysler says it knows of seven injuries that may be related to the problem, in addition to a small unspecified number of crashes. The company says drivers should always use parking brakes as a safeguard.

Fiat Chrysler is working on a fix. Owners will be notified when service is available. Customers with questions can call 866-220-6747. You can check if your vehicle is subject to a recall by entering its VIN on the National Highway Traffic Safety Administration's website.

The Associated Press contributed to this report.