Short answer, NO.
For the long answer, look up the "Magnuson-Moss Warranty - Federal Trade Commission Improvement Act"
Basically, the dealer has to prove that your aftermarket part caused the malfunction before they can deny you warranty service.
Edit: here's a little article about it:
http://www.pt-tuning.com/policies/Magn-Moss-Act.html