Ramaswamy said he will spend $4 million to promote the ad despite criticism from some members of his own party