A little hard to tell from the photo, but it doesn’t look right. The purpose of the spring to to pull the pedal back to its proper position. It has to attach to the pedal in a manner that does that.
The spring is intended to be hooked on the stock motor mount. If you have Float-A-Motor mounts you will have to figure something out as they don't accommodate it.