This tutorial shows you the bare minimum required to set up and run a pixel shader after the main rendering pass and before the post-process pass (before TAA and post-process materials).
https://dev.epicgames.com/community/learning/tutorials/JPba/unreal-engine-creating-a-custom-pixel-shader