The correct sentence is:
"The old lamp was thrown away, so I rescued it and sold it for five hundred dollars!"
In this case, a comma is appropriate before the coordinating conjunction "so" because it connects two independent clauses. The use of a semicolon would be incorrect in this context.