Old compressor hep

While they need to be cleaned up it may not solve the issue. Most tanks use a check valve where the air gets pumped into the tank. That allows air to go in but not put pressure on the pistons. With that corrosion there is probably some in that check valve that is not allowing it to close.

^^^^^ Yes this right here is probably why it pumps up and stalls.