05 ford ranger blown motor

Is it worth for 500 bucks? Engine won’t stay running, needs a new engine for sure. Some rust on frame, wheel bearings needed on front and back, and rot hole in bed.