Shield weapon strength ?
First of all, the damage dealt by different skills have different coefficients, so the actual attack value doesn’t translate between skills on different weapons, especially since the pistol 1 skill has bleeding attached to it, so its direct damage is worse.
Now, on to the body of the question:
The attack value of the shield will only take effect for attacks made by the shield, not the pistol attacks, and the pistol will not affect the damage of the shield. With exception for stat gains by either one. +Power on 1 will increase your total Power, which will affect damage for both weapons, and the same is true for Condition Damage, Crit Damage, Precision, and Healing.