A man accused of trying to set fire to a synagogue is due to face court as leaders hail a "big breakthrough" after a spate of anti-Semitic attacks.