Both pumps work. The 6.7 pump flows more, but can cause issues at higher RPM without a coolant bypass. If you're stock, and haven't had overheating issues, use the 5.9.
If your stock, and DO have overheating issues, try the 6.7 pump.
If your 5.9 is high performance/ high RPM, stick with the 5.9 pump.