If you want to use 4th button on cave games it will be through the 1p harness. You will need a 1p harness under your control panel that has wiring for the 4th button.
Not all games are wired up the same for all buttons, so you will have to swap wiring about depending on the game.
some examples:
Standard jamma is button 1,2,3
Neo Geo - button 1,2,3,4 are on the 1player harness
Capcom 6button fighters use 1,2,3 on 1player harness and 4,5,6 through kick harness
Namco Tekken fighters use 1,2 on 1player harness and 3,4 through kick harness