What temperature do you drive in? In So. Cal you likely do not need 5W coverage but it will not hurt and if you head into the desert in summer the 40W coverage will be needed. The oil weight recommendations are bases on the expected temperature you will operate in. Most Americans drive in cold winters and warm summers but not hot deserts so 5-30 works for most vehicles. Your owners manual likely lists different oil Weights for different temperatures and the 40W is for over 100 most likely.
BTW: you do not need an particular brand of oil just one that meets the formulation recommendation for your engine. Wal Mart brand is just as good as Rotela if it has the same API rating.
You can google oil ratings and read more info than you can use. Each company claims they tweek the basic oil with a better formulation than the competition.
Castrol will tell you what you need (in their opinion) at this
link link
5er/2500Duramax/18ftBoat