DETROIT—The heaviest rain to hit the Detroit metropolitan area almost a century left flooded highways, mud-strewn roads littered with abandoned cars and temporary shutdowns at automobile factories.

Police Tuesday morning shooed drivers away from many of the major roadways knitting the city to its suburbs across southeastern Michigan.

Authorities...