1998 chevy lumina

1998 chevy lumina security key. I’m having trouble with the car starting. I need to put the key in and out several times before the chip is read and the car starts. The dealer is tell me it is about $350.00 to replace. Can I do something to correct this without replacing the car key ignition and keys?