2003 Jetta is driving me nuts!

My 2003 Jetta intermittently will turn on and then abruptly turn off and I can’t start it. The pattern is I won’t be able to start it for about a day and then it will start. So far, mechanics are stumped. We put in a new battery too. This has been going on for four months now. Help!