No, the Spirit Shroud spell only affects weapon attacks made with melee weapons. It does not apply to ranged attacks or spells that require a ranged attack roll.