mercury mariner 2006 v6

the vehicle stopped and they said it was the alternator so we changed it and it ran good for a few days now it stop again battery dead and the inside lite does want to come off battery was tested and it says it is taking charge

2006 Mercury mariner