Turns out the new part, door controller, wasn’t the correct part. Was causing all kinds of issues. Had to get the car towed to Mazda. Unfortunately the cost went from an aftermarket price of $50 to hundreds. Not much we could do. I almost put back in the old part to test. Wish I had. We would have figured out the switch was the culprit.
Thanks for checking.