It sounds like the alternator. Basically, the alternator does not charge the battery so it dies while you are driving, but after being left alone for a long time the battery regains just enough charge to be driven a little bit. When you boost the car , you charge the battery a bit and it works...