Replacement of lost remote control - mazda tribute

how do i replace my keyless remote control for my '02 mazda tribute without going to the dealer?

Go to ebay.com and find the replacement at a fraction of cost. Hopefully no dealer programming needed. Most of them come with directions, if not visit a Mazda forum for directions or consult owners manual.

Buy a new one on ebay. Search in auto parts dept. for a key fob for Mazda. The seller will provide instructions on how to program it.