I had this happen to me,it was the master cylinder,It was a remanufacture from the local parts store,as soon as i installed it and drove it 1 time it started to apply the front brakes,the further I drove it the worse it got,after it sat awile it was fine for a few minutes and would do all over,had to replace it as well.