I would change all of the above and at start up its important to check the high pressure switch and low pressure switch and other safety switches.
I would also test the oil for acid.
It's also very important to see how the system is operating after compressor change.
There's usual a reason why the compressor fail. Usual its the exv.