DETROIT — In a move that drew praise from President Trump, Ford Motor said Tuesday that it would invest $1.2 billion in three Michigan facilities as part of a larger effort to increase production of American-made trucks and sport-utility vehicles.

Ford, the second-largest domestic automaker, said the investments would support a manufacturing shift from small cars to pickups and S.U.V.s at one assembly plant, and add or preserve 130 jobs at an engine factory.

The company informed the White House of the move Tuesday morning, prompting an immediate reaction from Mr. Trump. “Big announcement by Ford today,” he said in a Twitter post. “Major investment to be made in three Michigan plants. Car companies coming back to U.S.”

Ford’s announcement comes in the wake of Mr. Trump’s meeting with auto executives two weeks ago in the Detroit area, when the president vowed to cut back environmental rules and other regulations to promote job growth in the industry.

General Motors, the largest American auto company, unveiled plans to create 220 jobs and retain 680 other positions on the day of Mr. Trump’s visit.

Now Ford is responding with similar moves to incrementally boost its United States manufacturing operations.