Assigning a keyboard shortcut to Accumulate button in Texture Paint Mode
In the first box type wm.context_toggle.

This will open up another box in the bottom, Context Attributes. Type:

"tool_settings.image_paint.brush.use_accumulate" to set the property you want to toggle.