Looks like a phrasing mistake on our end. It shouldn’t specify melee-only; the attack penalties apply to ranged attacks as well.
No action, but like Power Attack, you choose to take it before you attack and it persists to the next turn (you can flip it on/off at will).