James Shaw Jr. (260530)
Credit: Facebook

As soon as he heard the gunshots, James Shaw Jr. bolted and hid in a restroom. But he didn’t lose sight of the gunman.

And the moment the shooter paused, police said, Shaw decided to ambush him.

That heroic act by a customer saved countless lives at a Nashville-area Waffle House, where a seminude gunman killed four people early Sunday morning.

READ MORE FROM PIX 11 NEWS.