As far as your warranty goes; the law says the dealer has to prove that the aftermarket part is the cause of your problem to deny your warranty. They assume that most people dont know this, and more often than not will say that your warranty is automatically voided; not true.
Go to this website, it has more specifics:
SEMA SAN - SEMA ACTION NETWORK