If an asteroid the size of Texas was headed for Earth, could we stop it?

No.13137308 ViewReplyOriginalReport
Suppose that we discover that an asteroid is on a collision course with Earth will reach us in five years. Could we stop it? And if so, how?