They are similar in one very specific way. Both are examples of how people fear can turn to hysteria. In both situations innocent people were persecuted due to fear.
The main similarity between the Red Scare and the Salem witch trials is the hysteria that enveloped a group of people based upon conjecture rather than solid fact.