SideFX shared a guide that will show you how to use the motion vector ROP.
You can download the latest motion vector ROP from the development branch of Game Development Toolset on GitHub by SideFX.
Not enough? You can find more info about motion vectors and creating a UE4 material in this tutorial by Klemen Lozar: Frame Blending with Motion Vectors