A 1998 5.7 liter engine's oil capacity depends on the *specific* make and model of the vehicle. While the engine displacement is the same, the oil pan capacity, and therefore the total oil capacity, can vary slightly between different vehicle applications.
To find the precise oil capacity, you must consult your owner's manual. The owner's manual will give you the exact amount of oil your specific vehicle requires.