2007 dies then rough idles?

#1
Yesterday I replaced wiper pump and new headlights, because the original were foggy. No the car dies on first attempt of starting it, then second time it starts but is with a rough idle. Would this be from the wiper pump wires hooked up wrong? Thank in advance.
 
Top