intermittent tripping could be a failure in the wire such as corrosion. The no longer working could be a final complete failure. There needs to be a breaker in the house panel feeding the garage.