Pretty long distance there, it's best you consult with a professional to survey your exact need. Max Cat5/6/7 length is ~100m, so you'll be needing at least two repeaters.
For that type of distance, you might be better off switching to fiber with something like https://www.amazon.com/dp/B003AVRLZI/ or WiFi( with high gain directional antennas)