Does the motherlode cheat work on The Sims 4?

Yes it does.

The motherlode cheat has been included in The Sims 2, The Sims 3, and The Sims 4. To activate this cheat, open up the Cheat Box using CTRL + SHIFT + C keys, type in the code, then press ENTER.