An amended return to claim a refund generally can be filed up to three years from the due date of that return (or the actual filing date if after the due date).
An exchange of similar assets used in a business or held for investment on which gain may be deferred.