Return of the Living Dead II
(1988)

The survivors (Tom, Jesse, Lucy, and Doc Mandel) trick the zombies into following them to a power plant by leaving a trail of cow brains for them to follow.

After many difficulties, resulting from the Billy zombie helping the other zombies break in, they manage to electrocute all of the undead.  

The military arrives to clean up the scene, and the foursome goes off in search of a good meal.

Thanks Greg B!