Mass air flow sensor connector

  cadillac/sedan-de-ville/2000-2005

Changed the spark plugs only. Now my car dies when I start it. It idles fast. Once started & going it runs but dies when I stop. Has all the symptoms of a problem with mass air flow sensor problems. Then I notice there is a connector next to motor that broke off. Need to know what part is called. On it it says sensor pressure have a photo. 2003 Cadillac deville. 

7