You could use the Wait Object. Here is an example:
1. First event should be: On Collision between Sprite A and Sprite B
2. Create a sub-event to the first event. It should be:
Wait Object Delay 5000ms ----> Sprite A: Destroy
Here is a cap of it: mediafire.com