Yeah, what BobA said (both times!) ... Button 4 is simply not part of the JAMMA standard, although some games do use the unused pins on the connector for Button 4. If you are looking at a "JAMMA game" with more than 2 players or 3 buttons, you need to look at the pinouts.
Cheers.