most likely you will not be permitted to enter with ESTA right after leaving the US from the J-1 program.  It would be too soon, I suspect.  You'd have to stay outside the US for at least 2-3 months, I suspect in order not to have any issues at the port of entry.