check the metal conectors behind the radio on the harness and the radio side, they could be either broken or loose and just making contact at random.
There is also pins thatpush nto the connector for the harness, you might want to check those and see if any are loose.