Thats a bit tight. It depends on which terminal and gate your flight arrives into Dublin. The Aer Lingus Terminal is Terminal 2, its a very long, 3 story building. If you are arriving on an Aer Lingus flight you will arrive on the top floor and will then have to go through the transfer area and then down to the USA customs area on the lower floor.
The first stage at USA customs is a security check, where your bags and you go through scanners.
Then you have to queue up and talk to a US Homelands Agent. You will get your fingerprints taken and a retinal scan, they will ask the security questions and you will have to identify your checked bags on the screen.
If your flight is closing , they do have staff to pull you to the front of the queue.
I would leave at least 2 hours, as you will probally need a toilet break and maybe get a drink.