What have yall found to fix a code 12?

Out in the yard doing some work and go to start it and it pops up a 12 on the dash and won’t crank. So I did my research and have found what it means, crank shaft positioning sensor. But, also found this video on YouTube claiming it’s the starter relay next to the battery. Well, between the 2 the starter relay is only 47 bucks, the other is a couple hundred! Anybody got any new info on this?

I pulled the relay and plugged it back in, and it started a few times, but then went back to saying the error code and not starting.

Here is the video.

Any extra help would be appreciated!