you can test it by jumping the wire, which if it turns off, indicates a bad sender.
you should then buy a new sender. Don't risk a $1500 engine over a $20 part...
Yes, I know, we all check the oil level every ride, and would never, ever, ever ride without it...