Given the numbers for the electric field and distance, you should be able to calculate the potential difference of 5000 MV between the two endpoints. Because the proton has charge e, to get the work done, you just stick an e in front of the V in the units. If you do that, you can see pretty easily 5000 MeV is correct. You don't need to worry that you made a mistake while converting units.